home *** CD-ROM | disk | FTP | other *** search
-
-
- #: 56956 Sub-topic 7 - Terminal Programs
- Sb: #56952-Question
- 13-Jan-85 22:20:39
- Fm: CBM Sysop/deb! C. 70007,577
- To: Chrisdos 76703,717
-
- Yes, Chris, we know exactly what you need to know.
-
- :::grin:::
-
- But I thought *U* were supposed to be the whiz here?????
-
-
-
-
-
-
-
-
-
- So, here goes, my tutorial on .IMG files
-
- The first line of an .IMG file looks like this in the INTEL HEX:
-
- :180000000400434333500108...etc
- ^^^^^^ <--- Those 3 bytes are the offset address of the file
- :180000000400434333500108...etc
- ^^ <-- That is a null, separating the data from the address
- :180000000400434333500108...etc
- ^^^^ <--- That is the number of characters in the .IMG header on the
- file, in standard Lo/Hi 6502 format.
- (there are 4 bytes in a 64 ID$ header)
- :180000000400434333500108...etc
- ^^^^^^ <--- Those 3 bytes are the Commodore 64 ID$ for VIDTEX.
- :180000000400434333500108...etc
- ^^ <--- That byte represents whether it is a PRG or SEQ
- file
- $50=P $53=S
- :180000000400434333500108...etc
- ^^^^ <--- The first actual data bytes from the CBM file
- on the disk now